package com.ax.business.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/skip")
public class errorRoute {

	/**
	 * 测试菜单页面的跳转(导航)
	 */
	@GetMapping("/baidu")
	String baidu(Model model) {
		return "baidu";
	}
	
	/**
	 * 测试菜单页面的跳转(经纬度)
	 */
	@GetMapping("/longitud")
	String longitu(Model model) {
		return "longitud";
	}
	
	/**
	 * 菜单页面的跳转
	 */
	@GetMapping("/error")
	String test(Model model) {
		return "login";
	}
}
